package com.eian.boot.module.system.log.model.dto;

import com.eian.boot.mybatis.core.page.PageQuery;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * 操作日志查询请求
 *
 * @author alex.meng
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Schema(description = "操作日志查询请求")
public class OperationLogQueryRequest extends PageQuery {

    @Schema(description = "操作模块")
    private String module;

    @Schema(description = "操作人名称")
    private String operatorName;

    @Schema(description = "操作状态：1-成功，0-失败")
    private Integer status;

    @Schema(description = "业务类型")
    private Integer businessType;

    @Schema(description = "开始时间")
    private LocalDateTime startTime;

    @Schema(description = "结束时间")
    private LocalDateTime endTime;
}

